package cn.com.git.workflow.service.dto;

import cn.com.git.common.base.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 鉴权token令牌 & 鉴权信息
 * @author zhangzhenfu
 * @Description
 * @date 2020/3/27 10:19
 */
@Data
public class AuthenticationTokenDTO extends BaseDTO {

    @ApiModelProperty(value = "用户信息")
    private AuthenticationTokenDTO.SysUser sysUser;

    @Data
    public static class SysUser extends BaseDTO {
        @ApiModelProperty(value = "ID")
        private Integer id;
        @ApiModelProperty(value = "账号")
        private String account;
        @ApiModelProperty(value = "姓名")
        private String name;
    }
}
